package Model;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

public class HoaDon implements Serializable{
	private Integer mahoadon;
	private NguoiDung nguoidung;
	private Long tongtien;
	private Boolean dathanhtoan = false;
	private Set<SanPham> dssp = new HashSet<SanPham>();
	public Integer getMahoadon() {
		return mahoadon;
	}
	public void setMahoadon(Integer mahoadon) {
		this.mahoadon = mahoadon;
	}
	public NguoiDung getNguoidung() {
		return nguoidung;
	}
	public void setNguoidung(NguoiDung nguoidung) {
		this.nguoidung = nguoidung;
	}
	public Set<SanPham> getDssp() {
		return dssp;
	}
	public void setDssp(Set<SanPham> dssp) {
		this.dssp = dssp;
	}
	public Long getTongtien() {
		return tongtien;
	}
	public void setTongtien(Long tongtien) {
		this.tongtien = tongtien;
	}
	public Boolean isDathanhtoan() {
		return dathanhtoan;
	}
	public void setDathanhtoan(Boolean dathanhtoan) {
		this.dathanhtoan = dathanhtoan;
	}
	public Boolean getDathanhtoan() {
		return dathanhtoan;
	}
	
}
